<!--
  Generated template for the MyScorePage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-title>我 的 积 分</ion-title>
  </ion-navbar>

</ion-header>

<ion-content>
  <ng-container *ngIf="scoreDetail">
    <div class="score_bar">
      <div class="sum">{{scoreDetail.sum}}</div>
      <div>每积分可以抵扣：
        <span>{{scoreDetail.pointconfiginfo.convert_rate}}</span> 元</div>
    </div>
    <p class="p10">积分明细：</p>
    <ul>
      <li *ngFor="let item of scoreDetail.member_point_list.data">
        <span>
          {{item.text}}
        </span>
        <span class="r" >
          {{item.number}}
        </span>
        <p> {{item.create_time*1000 |  date:"yyyy-MM-dd hh:mm:ss"}}</p>
      </li>
    </ul>
  </ng-container>
</ion-content>
